package com.reran.spring.study.homework.h08.application;

import com.reran.starter.model.ISchool;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class HomeworkStarterLauncher {

    public static void main(String[] args) {
        final ConfigurableApplicationContext context = SpringApplication.run(HomeworkStarterLauncher.class, args);

        ISchool school = context.getBean(ISchool.class);
        school.ding();

    }

}